﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using System.ComponentModel;
using System.Xml.Serialization;

namespace ZMotion
{
    [XmlInclude(typeof(GroupInfo))]
    [DescriptionAttribute("GroupInfo"), TypeConverterAttribute(typeof(ExpandableObjectConverter))]
    public class GroupInfo
    {
        public ushort GroupAxisNum
        {
            get;
            set;
        }
        public int[] AxisNum
        {
            get;
            set;
        }
        public bool Smooth
        {
            get;
            set;
        }
        public GroupInfo()
        {
            GroupAxisNum = 3;
            AxisNum = new int[4];
            AxisNum[0] = 0;
            AxisNum[1] = 1;
            AxisNum[2] = 2;
            AxisNum[3] = 3;
        }
    }
}
